﻿using ACC.Business;
using ACC.Business.Stn;
using ACC.Data;
using ACC.Data.Comm;
using ACC.Data.Line;
using ACC.Device;
using ACC.LineDevice.KukaPack;
using System;

namespace Script
{
    /// <summary>
    /// PACK人工拍照检测， 人工
    /// </summary>
    public class L1P09011 : StnProcessKukaPack
    {
        public L1P09011(StnRunningData data)
            : base(data)
        {
        }
        protected override ACCDevice CreateDevice()
        {
            ACCDevice dev = base.CreateDevice();
            if (kukaSiemensDev != null)
            {
                kukaSiemensDev.DB190 = 800;
                kukaSiemensDev.DB190_Offset = 2000;
                kukaSiemensDev.DB192 = 80;
                kukaSiemensDev.DB192_PLC_Offset = 2066;

                kukaSiemensDev.DB193 = 800;
                kukaSiemensDev.DB193_PLC_Offset = 2034;
                kukaSiemensDev.DB193_ACC_Offset = 2068;
                kukaSiemensDev.DB194 = 800;
                kukaSiemensDev.DB194_PLC_Offset = 2034;
                kukaSiemensDev.DB194_PLC_Data_Offset = 2078;
            }

            return dev;

        }
      
    }
}